package com.card.client.service;

import java.util.ArrayList;

import com.card.client.entry.UserInfo;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("userInfoManage")
public interface UserInfoManageService extends RemoteService {

	void addUserInfo(UserInfo userInfo);
	
	UserInfo[] getAllUserInfo();
	
	void delUserInfo(Long id);
	
	void updateUserInfo(UserInfo userInfo);
	
	UserInfo getLoginedUser();
	
	void setLoginedUser(UserInfo userInfo);
	
	void addLoginedUserList(UserInfo userInfo);
	
	ArrayList<UserInfo> getLoginedUserList();
	
	void removeLoginedUser();
	
	void refreshLoginedUserList(UserInfo userInfo);
	
	void removeLoginedUserToList(UserInfo userInfo);
	
}
